package com.lcxw.hxzb.friendcircle.project.system.domain;

import com.lcxw.hxzb.friendcircle.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员砍价明细对象 ywpd_bargain
 *
 * @author meeting
 * @date 2020-10-14
 */
public class YwpdBargain extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long bargainId;

    /**
     * 主键
     */
    @ApiModelProperty(name = "主键")
    private Long bargainingId;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    private Long userId;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(name = "用户id")
    private Double money;

    private YwpdDynamic ywpdDynamic;

    public void setBargainId(Long bargainId) {
        this.bargainId = bargainId;
    }

    public Long getBargainId() {
        return bargainId;
    }

    public void setBargainingId(Long bargainingId) {
        this.bargainingId = bargainingId;
    }

    public Long getBargainingId() {
        return bargainingId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public YwpdDynamic getYwpdDynamic() {
        return ywpdDynamic;
    }

    public void setYwpdDynamic(YwpdDynamic ywpdDynamic) {
        this.ywpdDynamic = ywpdDynamic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("bargainId", getBargainId())
                .append("bargainingId", getBargainingId())
                .append("userId", getUserId())
                .append("money", getMoney())
                .append("createTime", getCreateTime())
                .toString();
    }
}
